package com.example.service.impl;

import com.example.domain.pojo.Order;
import com.example.mapper.IOrderMapper;
import com.example.service.IOrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ljs
 * @date 2025/7/17
 */
@Service
@Slf4j
public class OrderServiceImpl implements IOrderService {
    @Autowired
    private IOrderMapper orderMapper;

    @Override
    public void addOrder(Order order) {
        orderMapper.addOrder(order);
    }
}
